@font-face {
  font-family: CustomFont;
  src: url("../font/JustOldFashion.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
    margin: 0 auto;  
    font-family: tahoma, sans-serif, arial;  
    font-size: 12px;
    /* background: #f0f0f0;   */
    background-image: url("../image/bgpattern.jpg");
    line-height: 1.4;
    min-width: 800px;
}

h1{font-size: 1.5em;}
h2{font-size: 1.1em;}
h3{font-size: .8em;}

header, footer, aside, nav, article {  
    display: block;  
}

.table{
	min-height: 30px;
	height: 100%;
	width: 100%;
	display:table;   
}

.row{
    display: table-row;
}

.cell{
	display: table-cell;
	padding: 1px 2px;
	text-align: left;
	clear: both;
	vertical-align: middle;
}

.input, .textarea, .button{
	border: 1px solid #AED0EA;
}

.align_center{
	text-align: center;
}

.label{
	/* display: block; */
	text-align: right;
	vertical-align: top;
}

.hidden{
	display: none;
}

.title{
	font-family: CustomFont, tahoma, sans-serif, arial;  
}



.main_container{
	/* background-color: #FFFFFF; */
	background-image: url("../image/mainbg.jpg");
	/* Box shadow */
	-moz-box-shadow: 0px 0px 20px #000000;
	-webkit-box-shadow: 0px 0px 20px #000000;
	box-shadow: 0px 0px 20px #000000;
}

div {
	border: inset 0px #000000;
}

nav{
	height:30px;
	/* border: solid 1px #000000; */
}

nav ul li {
	float: right;
	margin-left:20px;
}

nav ul li a{
	text-decoration: none;
	vertical-align: middle;
	display:table-cell;
}

nav ul li a:hover{
	text-decoration:underline;
	height: 30px;
	background-image: url("../image/navbg.png");
	background-repeat: no-repeat;
	background-position: center center;
	
	-moz-transition:  all .5s;
	-webkit-transition:  all .5s;
	-o-transition: all .5s;
	transition: all .5s;
	
	-webkit-transform: rotate(10deg); 
	-moz-transform: rotate(10deg);	
	-ms-transform: rotate(10deg);
	-o-transform: rotate(10deg);
	transform: rotate(10deg);
}

#header aside div{
	display: table-row;
	text-align: right;
}

#header, #left_pane, #center_pane, #right_pane{
	margin-top: 10px;
	margin-bottom: 10px;
}

/* SEARCH PANEL */
#search_panel {
	margin-top:20px;
	height: 40px;
	border-top-left-radius:8px;
	border-top-right-radius:8px;
	border: solid 1px #7FBDC7;
	border-bottom: 0px;
	background: #D7F4FA;
	background: -webkit-gradient(linear, left top, left bottom, from(#D7F4FA), to(#9FE3F4));
	background: -moz-linear-gradient(top,  #D7F4FA,  #9FE3F4);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#D7F4FA', endColorstr='#9FE3F4');
	
}

/* CART PANEL */
#cart_panel {
	height: 40px;
	border-bottom-left-radius:8px;
	border-bottom-right-radius:8px;
	border: solid 1px #CECECE;
	background: #FFFFFF;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#F1F1F1));
	background: -moz-linear-gradient(top,  #FFFFFF,  #F1F1F1);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#F1F1F1');
}

/* SLIDER */
/*--Main Container--*/
.slider_container {
	height: 246px;
}

.main_view {
	width:100%;
	height:100%;
	float: left;
	position: relative;
	
	padding: 5px;  
	
	border: 1px solid #d8d8d8;  
	background: #f9f9f9; 
	 
	-moz-border-radius: 4px;  
	-webkit-border-radius: 4px;  
	border-radius: 4px;  
	-moz-box-shadow: inset 0 0 0 1px #fff; 
	-webkit-box-shadow: inset 0 0 0 1px #fff; 
	box-shadow: inset 0 0 0 1px #fff; 
}

/*--Window/Masking Styles--*/
.window {
	width:100%;
	height:100%;
	overflow: hidden; /*--Hides anything outside of the set width/height--*/
	position: relative;
}

.image_reel {
	width:100%;
	height:100%;
	position: absolute;
	top: 0; left: 0;
}

.image_reel img {
	float: left;
}

/*--Paging Styles--*/
.paging {
	position: absolute;
	bottom: 10px; right: -7px;
	width: 150px; /* height:47px; */
	z-index: 100; /*--Assures the paging stays on the top layer--*/
	text-align: center;
	background-color:#40ACE4;
	opacity: 0.6;
	display: none; /*--Hidden by default, will be later shown with jQuery--*/
	
	-moz-border-radius: 1px;
	-khtml-border-radius: 1px;
	-webkit-border-radius: 1px;
}

.paging a {
	padding: 0 5px;
	text-decoration: none;
	color: #fff;
}

.paging a.active {
	font-weight: bold; 
	background: #920000; 
	border: 1px solid #610000;
}

.paging a:hover {font-weight: bold;}


/* LEFT-RIGHT PANEL */
#left_pane section, #right_pane section, #center_pane section{
	margin-top: 20px;
}

#left_pane section, #right_pane section{
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	border: solid 1px #B2DCE3;
}

#left_pane ul li, #right_pane ul li{
	margin-top: 5px;
	padding-left: 10px;
}

.side_pane_header{
	padding-left: 10px;
	border-bottom: solid 1px #B2DCE3;
	color: #2779AA;
	background: #F0F7FB;
	background: -webkit-gradient(linear, left top, left bottom, from(#F0F7FB), to(#DEEDF7));
	background: -moz-linear-gradient(top,  #F0F7FB,  #DEEDF7);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#F0F7FB', endColorstr='#DEEDF7');
	border-top-left-radius:5px;
	border-top-right-radius:5px; 
}

#left_pane h2, #right_pane h2{
	/* font-size: 13px; */
	height: 28px;
	vertical-align: middle;
	display:table-cell;   
}

#right_pane #your_cart #item_cart{
	text-align: center;
	padding: 5px 5px;
}

#right_pane #your_cart  li{
	display: table-row;
	text-align: center;
}

#right_pane #your_cart  footer{
	text-align: center;
}

#your_cart #item_cart{
	font-size: .8em;
}


/* CENTER-PANE */
#center_pane section .title{	
	/* font-size: 18px; */
	padding-bottom: 5px;
	border-bottom: dotted 1px #CECECE;
}

#center_pane section:nth-child(n+2) .title{	
	margin-top: 40px;
}

#center_pane article{
	margin: 15px 0 0 0;
}

#center_pane #products article li{
	display:table-cell;
	text-align: center;
	/* border: solid 1px #CC0099; */
	padding: 0 10px 0 10px;
}

/* BLOG */
#blog article{	
	padding: 5px 10px 5px 10px;
}

/* #blog article:nth-child(even){
	background-color: #F2F5F7;
} */

#blog article header{
	font-weight: bold;	
	display: inline-block;
	width: 100%;
}

#blog article header cite{
	font-weight: lighter;
	font-size: .8em;	
	color: #878787;
}

#blog article p{
	margin-top: 5px;
	text-align: justify;
}

#blog .arrow{
	margin-left: 0px;
	border-color: #878787 transparent blue transparent;
	border-style:solid;
	border-width:5px 5px 0px 5px;
	width:0;
	height:0;
}

/* COMMENT */
#blog .reply #form_reply{
	padding: 5px 10px 5px 10px;
}

#blog .reply p{
	display: table-row;
}

/* #blog .reply label{
	display: table-cell;
	text-align: right;
	vertical-align: top;
} */

/* FOOTER */
#footer{
	margin: 20px 0;
	text-align: center;
}

#footer p{
	vertical-align: middle;
	text-align: center;
}

#footer_nav{
}

#footer_nav ul li{
	display: inline;
	padding: 0 5px 0 0;
}
